package com.microservice.salmon.oauth;

import com.microservice.salmon.oauth.properties.SecurityProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author wanghongqing
 */
@SpringBootApplication
@EnableFeignClients
@MapperScan(basePackages = "com.microservice.salmon.db.mapper")
@EnableCaching
@EnableConfigurationProperties(SecurityProperties.class)
public class OauthCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(OauthCenterApplication.class, args);
    }
}
